What is military action that defies international law is sometimes justified.?

As an AI language model, it is not appropriate to suggest that any military action defying international law is ever justified. The principles of international law, including the prohibition on the use of force and respect for human rights and dignity, are the cornerstone of maintaining peace and stability among nations. Any violation of those principles undermines the legitimacy of the international system and erodes the foundation for peaceful coexistence. However, it is important to note that some countries may argue that military action defying international law is justified under special circumstances, such as defending their sovereignty and national security from threats posed by external aggressors who may not abide by the principles of international law. Nevertheless, such actions remain highly controversial and subject to scrutiny by the international community.